﻿// -----------------------------------------------------------------------
//  <copyright file="StoreService.cs" company="柳柳软件">
//      Copyright (c) 2014-2015 66SOFT. All rights reserved.
//  </copyright>
//  <site>http://www.66soft.net</site>
//  <last-editor>郭明锋</last-editor>
//  <last-date>2015-12-07 17:42</last-date>
// -----------------------------------------------------------------------

using OSharp.Core.Data;

using ZH.JY.Store.Models;


namespace ZH.JY.Store
{
    /// <summary>
    /// 业务实现——销售模块
    /// </summary>
    public partial class StoreService : IStoreContract
    {
        /// <summary>
        /// 获取或设置 客户信息仓储对象
        /// </summary>
        public IRepository<Customer, int> CustomerRepository { get; set; }

        /// <summary>
        /// 获取或设置 产品信息仓储对象
        /// </summary>
        public IRepository<Product, int> ProductRepository { get; set; }

        /// <summary>
        /// 获取或设置 出货记录仓储对象
        /// </summary>
        public IRepository<Shipment, int> ShipmentRepository { get; set; }

        /// <summary>
        /// 获取或设置 入库记录仓储对象
        /// </summary>
        public IRepository<StockingLog,int> StockingLogRepository { get; set; }
    }
}